<%@include file="/WEB-INF/common/taglibs.jsp"%>
<script type="text/javascript" src="${ctx}/resources/js/datatable-query.js"></script>


<script>
$(document).ready(function(){
	$("form.form-horizontal.seperator[method='post']").validate();
	
});
	
	
 </script>
<div class="row-fluid">

	<div class="span12">

		<div class="page-header">
			<h4>Quantity Unit </h4>
		</div>

<form class="form-horizontal seperator" method="post">
<!--name --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="name">Name :</label><input class="span4" id="name" name="name"   type="text" value="${entity.name}" /></div></div></div>
<!--basicRate --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="basicRate">Basic Rate :</label><input class="span4" id="basicRate" name="basicRate"   type="text" value="${entity.basicRate}" /></div></div></div>
<!--basic --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="basic">Is Basic :</label><div class="left marginT5 marginR10">
<div class="normal-toggle-button">
<input    <c:if test= "${entity.basic}"> checked=checked</c:if>   type="checkbox" class="nostyle" fname="basic">
<input class="nostyle" type="radio" name="basic" id="basic1" value="true"  <c:if test= "${entity.basic}"> checked=checked</c:if>   style="opacity: 0;">
<input class="nostyle" type="radio" name="basic" id="basic2" value="false" <c:if test= "${!entity.basic}"> checked=checked</c:if>  style="opacity: 0;">
</div>
</div>
</div>
</div>
</div>

<!--quantityUnitGroup --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3">Quantity Unit Group :</label><div class="span4 controls"><select name="quantityUnitGroupId"><c:if test="${not empty quantityUnitGroups}"><c:forEach var="single" items="${quantityUnitGroups}"><option value="${single.id}"${(single.id == entity.quantityUnitGroup.id)?'selected':'' }>${single.name}</option></c:forEach></c:if></select></div></div></div></div>



 <div class="form-row row-fluid">
				<div class="span12">
					<div class="row-fluid">
						<div class="form-actions">
							<div class="span3"></div>
							<div class="span4 controls">
								<button type="submit" class="btn btn-info marginR10">Save
									changes</button>
								<button class="btn btn-danger">Cancel</button>
							</div>
						</div>
					</div>
				</div>
			</div>
		</form>

	</div>
	<!-- End .span12 -->

</div>
<!-- End .row-fluid --> 
	<script>
$(document).ready(function(){
$(".meta-div").appendTo($("#general"));
});


var meta_type="quantityunit";
</script>
	<c:set var="nameOnly" value="true" />
	<%@include file="../../admin/meta/meta.jsp"%>
